import {axios} from '@/utils/request'

/**
 * 发票检查接口
 * @params void
 * @returns {AxiosPromise}
 */
export function checkBeforeAdd(data = {}) {
    return axios({
        url: "/vatoutinv/vmsManualInvoicing/checkBeforeAdd",
        method: 'post',
        data
    })
}

/**
 * 发票开始流程列表接口
 * @params data
 * @returns {AxiosPromise}
 */
export function getProcessList(data) {
    return axios({
        url: "/vatoutinv/wfProcessBusiness/queryStartProcessMyself",
        method: 'post',
        data
    })
}

/**
 * 获取不动产地址列表
 * @returns {AxiosPromise}
 */
export function getAddressList() {
    return axios({
        url: "/vatoutinv/vmsRealRegionalConfig/getList",
        method: 'post'
    })
}